<!DOCTYPE html>
<html>
<head>
	<title></title>
	<meta charset="utf-8">
</head>
<body ng-app="myApp" ng-controller="myCtrl">
	<table border="1" ng-repeat="x in arr">
		<tr>
			<td rowspan="50">判断</td>
			<td rowspan="50">{{x.deviceDefinition.deviceName}}</td>
			<!-- <td>{{x.triggerRuleList}}</td> -->
		</tr>
		<tr ng-repeat="y in x.triggerRuleList">
			<td>{{y.id}}</td>
			<td><button>test</button></td>
		</tr>
	</table>
	<script src="http://cdn.bootcss.com/angular.js/1.6.6/angular.js"></script>
	<script type="text/javascript">
		var app = angular.module("myApp", [])
		app.controller("myCtrl", function($scope,$log,$http){
			var url = "http://127.0.0.1:8083/console/scene/scenedetaillist"
			$http({
				method:"get",
				url:url,
				headers:{
					"content-type":"application/json"
				}
			}).then(function(req){
				$log.log(req.data.retBody[8].ruleGroupDetailList[0].deviceAndRuleList)
				$scope.arr = req.data.retBody[8].ruleGroupDetailList[0].deviceAndRuleList
			})
		})
	</script>
</body>
</html>